//
//  LBQBaseRequest.h
//  liBaQiang
//
//  Created by 奇林刘 on 2018/10/18.
//  Copyright © 2018年 liu. All rights reserved.
//

#import <Foundation/Foundation.h>

#define BaseUrl @"http://luma.beituo.com"

typedef void (^Success)(NSURLSessionDataTask *task, id _Nullable responseObject);
typedef void (^Failure)(NSURLSessionDataTask *task, id _Nullable responseObject);

@interface LBQBaseRequest : NSObject

+ (void)POSTWithParameters:(NSDictionary *)parameters success:(Success)success failure:(Failure)failure;

+ (void)GETWithParameters:(NSDictionary *)parameters success:(Success)success failure:(Failure)failure;

+ (NSString *)urlComponent;

@end

